package cosc617_blackteam;
/**
 * 
 * @author sherbahadur
 *this abstract class is the base decorator that constructs the interface
 *type instance of the Tab
 *From here you extend other decorators
 */
abstract class SimpleTabDecorator extends I_Tab {
protected I_Tab regularTab;
public SimpleTabDecorator(I_Tab regularTab){
	//so that default tab and decorators have the same tab value
	this.setTabValue(regularTab.getTabValue());
	this.regularTab=regularTab;
}
	@Override
	public String makeRegularTab() {
		 return regularTab.makeRegularTab();
	}

}
